﻿#region Using Statements
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.GamerServices;
using System.ComponentModel;
#endregion

namespace TunnelsOfDeath
{
    partial class Game1 : Game
    {
        protected void MainStateGameOver(GameTime _gt)
        {
            if (Globals.Gui.ShouldDrawMap)
            {
                UpdateTick(_gt);
                UpdateMap(_gt);
            }
            else
            {
                Globals.CurrentState = GameState.startscreen;
                Globals.Gui.ShouldDrawMap = false;
                Globals.ActivePlayersOnMap.Clear();

            }
        }
    }

}
